package movies.domain;

/**
 *
 * @author Hanna_Aliakseichykava
 */
public class Picture {

    private int id;
    private String name;
    private int articleId;

    public Picture() {
    }

    public Picture(String name, int articleId) {
        
        this.name = name;
        this.articleId = articleId;
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    

}
